#ifndef GAME_TIMER_H
#define GAME_TIMER_H

#include "SDL.h"
#include "ITimer.h"

namespace steam
{
	namespace core
	{
		class GameTimer : public ITimer
		{
		public:

			GameTimer();

			void tick();

			float getElapsedTimeInSec() const;

		private:

			unsigned int m_lastTime;

			unsigned int m_currentTime;

			float m_elapsedTime;

		};
	}
}


#endif